import request from '@/utils/request';

export async function fetch(params) {
  return request(`/eofficeserver/api/templates?type=${params.type}`);
}
